from rest_framework import status
from rest_framework.exceptions import APIException

from urlth.StaticMessages import successfullyMessage


class UserPermissionException(APIException):
    default_detail = successfullyMessage.UserPermissionException
    status_code = status.HTTP_403_FORBIDDEN
    default_code = "User_Permission_Exception"
